from django.urls import path
from . import views

urlpatterns = [
    path('sms_code/<str:mobile>',views.SmsCodeView.as_view()), # 发送验证码
    path('register/',views.RegisterView.as_view()), # 用户注册
    path('login/',views.LoginView.as_view()), # 用户登录
    path('user/',views.UserView.as_view()), # 获取个人中心
    path('logout/',views.LogoutView.as_view()), # 退出登录
]
